package com.craftplay.service;

import com.craftplay.dao.BannerImageMapper;
import com.craftplay.model.BannerImage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BannerImageService {

    @Autowired
    private BannerImageMapper bannerImageMapper;

    public List<BannerImage> listAll() {
        return bannerImageMapper.listAll();
    }
}
